From: Stefan Monnier Date: Wed, 15 Aug 2007 20:05:40 +0000 (+0000) Subject: (reset_var_on_error): Improve comment. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~17400 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5471b287f2b0a6a6ec8d6efba6ffa925bd04d70d;p=emacs.git (reset_var_on_error): Improve comment. --- diff --git a/src/insdel.c b/src/insdel.c index 19823623091..cd8e2738f9a 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -2138,10 +2138,11 @@ prepare_to_modify_buffer (start, end, preserve_ptr) (! NILP (end_marker) ? Fmarker_position (end_marker) : end) /* Set a variable to nil if an error occurred. - VAL is a cons-cell whose car is the variable name, and whose cdr is - either nil (to mean that there was indeed an error), or non-nil to mean - that the was no error (which thus causes this function to do - nothing). */ + Don't change the variable if there was no error. + VAL is a cons-cell (VARIABLE . NO-ERROR-FLAG). + VARIABLE is the variable to maybe set to nil. + NO-ERROR-FLAG is nil if there was an error, + anything else meaning no error (so this function does nothing). */ Lisp_Object reset_var_on_error (val) Lisp_Object val;